#include "xwindow.h"
#include <gtkmm/main.h>

xWindow::xWindow()
{
	// Sets the border width of the window.
	set_border_width(10);

	add(vb_main);

	vb_main.pack_start(hb_top);
	vb_main.pack_start(hb_bottom);

	set_title("GRID Subtitler");

	hb_top.pack_start(vb_left);
	hb_top.pack_start(vb_right);

	resize(800,600);

	// TREE VIEW
	// Añade a hb_bottom el TreeView
	
	hb_bottom.add(data_grid.getTreeView());

	data_grid.fillData();
	
	// Aquí termina la parte del Tree View

	show_all();
}

xWindow::~xWindow()
{ }
